//
//  ShoppingCartViewCell.m
//  Project two framework
//
//  Created by rimi on 16/7/28.
//  Copyright © 2016年 张峥. All rights reserved.
//

#import "ShoppingCartViewCell.h"

@implementation ShoppingCartViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        UIImageView *image = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, 825, 50)];
        image.image = [UIImage imageNamed:@"line_11"];
        image.userInteractionEnabled = YES;
        [self.contentView addSubview:image];
        
        _numberCellLabel = [[UILabel alloc]initWithFrame:CGRectMake(10, 5, 105, 40)];
        _numberCellLabel.font = [UIFont boldSystemFontOfSize:16];
//        _numberCellLabel.text = @"数量";
        _numberCellLabel.textColor = [UIColor whiteColor];
//        _numberCellLabel.backgroundColor = [UIColor magentaColor];
        _numberCellLabel.textAlignment = NSTextAlignmentCenter;
        [image addSubview:_numberCellLabel];
        
        _businessLinesCellLabel = [[UILabel alloc]initWithFrame:CGRectMake(125, 0, 140, 50)];
//        _businessLinesCellLabel.text = @"业务种类";
        _businessLinesCellLabel.font = [UIFont boldSystemFontOfSize:16];
        _businessLinesCellLabel.textColor = [UIColor whiteColor];
//        _businessLinesCellLabel.backgroundColor = [UIColor greenColor];
        _businessLinesCellLabel.textAlignment = NSTextAlignmentCenter;
        [image addSubview:_businessLinesCellLabel];
        
        _businessExplainCellLabel = [[UILabel alloc]initWithFrame:CGRectMake(395, 5, 430, 40)];
//        _businessExplainCellLabel.text = @"业务说明";
        _businessExplainCellLabel.font = [UIFont systemFontOfSize:12];
        _businessExplainCellLabel.textColor = [UIColor whiteColor];
//        _businessExplainCellLabel.backgroundColor = [UIColor blueColor];
        _businessExplainCellLabel.textAlignment = NSTextAlignmentCenter;
        [image addSubview:_businessExplainCellLabel];
        
        _cleanBtn = [UIButton buttonWithType:UIButtonTypeCustom];
        _cleanBtn.frame = CGRectMake(760, 15, 25, 25);
        [_cleanBtn setImage:[UIImage imageNamed:@"关闭_05.png"] forState:UIControlStateNormal];
        [image addSubview:_cleanBtn];
        
        
        
    }

    return self;
}



















@end
